package com.zdlt.admin.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Article {
    private Long id;
    private String title;
    private String content;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pubdate;
    // 封面图片路径，多个用逗号分隔
    private String images;
    // 封面类型 0 无图，1 单图，3 三图，-1 自动
    private Integer coverType;
    private Cover cover;
    private Integer channelId;
    private String responseType;
    private Boolean commentStatus;
    private Integer totalCommentCount;
    private Integer fansCommentCount;

}
